<template>
    <div>
        <number-input :val="number" v-model="changeNumber"></number-input>
    </div>
</template>

<script>
import numberInput from "base/numberInput/numberInput";
export default {
  data() {
    return {
      number: 0
    };
  },
  methods: {
    changeNumber(newNum) {
      this.number = newNum;
    }
  },
  components: {
    numberInput
  }
};
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
@import '~common/stylus/variable';
</style>
